{template "content","header", "default"}
{template "content","header_product", "default"}
<!-- 内容begin-->
<!-- 板块1begin-->
<script type="text/javascript">
	function buy(sendid){
		if(sendid==0){
			alert('只有业主会员才可发布求购信息');
			return false;
		}
		var title = $('#title').val();
		var cityid = $('#cityid').val();
		var buy_num = $('#buy_num').val();
		var brand = $('#brand').val();
		var contents = $('#contents').val();
		var contact = $('#contact').val();
		var phone = $('#phone').val();
		var qq = $('#qq').val();
		if(title==''){
			alert('请填写求购名称');$('#title').focus();
			return false;
		}
		if(cityid==0){
			alert('请选择城市');
			return false;
		}
		
		if(buy_num==''){
			alert('请填写求购数量');$('#buy_num').focus();
			return false;
		}
		if(brand==''){
			alert('请填写品牌名称');$('#brand').focus();
			return false;
		}
		if(contact==''){
			alert('请填写联系人');$('#contact').focus();
			return false;
		}
		if(phone==''){
			alert('请填写电话');$('#phone').focus();
			return false;
		}
		if(qq==''){
			alert('请填写QQ');$('#qq').focus();
			return false;
		}
	}

		var charset = '{CHARSET}';
		
			function selectcity(val){
				var area = $('#area').val();
				
				$.post("index.php?m=member&c=index&a=getarea", {
					id:val
				}, function(data) {
					var d = '<select name="info[area]">'+data.str+'</select>';
					$('#city_letter').val(data.letter);
					$('#area').html("");
					$('#area').html(d);
					
				},"json"
				);
			}	
</script>
<div id="m_company">
  <div class="weizhi">您当前所在的位置:<a href="#">主材商城首页</a>><a href="#">我要求购</a></div>
  <!-- 板块左边begin-->
  <div class="woyaoqiugou_l">
  <div class="woyaoqiugou_l01">
    <div class="company_ml_tittle">
      <h1 class="color05">我要求购</h1><font color="#FF0000" style="line-height:32px; margin-left:20px;">需业主会员在可以发布，带*为必填</font>
    </div>
    <div class="line"></div>
    <form method="post" action="{APP_PATH}index.php?m=member&c=content&a=publish" id="myform" name="myform">
	<input type="hidden" value="{BUYPRODUCT}" name="info[catid]">
	<input type="hidden" value="1" name="checkcode" />
    <div class="zszhaobiao_l woyaoqiugou_l02">
		<ul class="ul01">
			<li><label class="colorred">* 我要买：</label><input name="info[title]" id="title" style="width:200px; height:15px; padding-top:3px;" type="text" /></li>
			<li><label>* 城市：</label><span id="citydiv"></span></li>
			<li><label>* 区域：</label><span id="area">  <select><option>请选择</option></select></span></li>
			<li><label>* 购买数量：</label><input name="info[buy_num]" id="buy_num" style="width:50px;height:15px; padding-top:3px;" type="text" /><tt> 如：1个</tt></li>
			<li><label>* 要求品牌：</label><input name="info[brand]" id="brand" style="width:50px;height:15px; padding-top:3px;" type="text" /><tt></tt></li>
			<li class="li001"><label>* 其他要求：</label><textarea id="contents" name="info[contents]" style="width:280px;height:40px; padding-top:3px;" cols="" rows=""></textarea><tt>(详细填写)</tt></li>
			<li><label>* 联系人：</label><input name="info[contact]" id="contact" style="width:200px; height:15px; padding-top:3px;" type="text" /><tt>建议填写手机号</tt></li>
			<li><label>* 电话：</label><input name="info[phone]" id="phone" style="width:200px; height:15px; padding-top:3px;" type="text" /><tt>建议填写手机号</tt></li>
			<li><label>* QQ：</label><input name="info[qq]" id="qq"  style="width:280px;height:15px; padding-top:3px;" type="text" /></li>
			
			<li><label>* 验证码：</label><input type="text" id="code" name="code" size="8" style="width:80px;height:15px; padding-top:3px;"> {form::checkcode('code_img', '4', '14', 84, 24)}</li>
	  </ul>
	  
	  <input name="dosubmit" type="submit" onclick="return buy({$sendsure});" value="填写完毕 提交信息" style="font-size:14px; font-weight:bold; width:150px; height:30px; margin-left:210px;" />
	</div>
	</form>
	</div>
	<div class="woyaoqiugou_l01">
    <div class="company_ml_tittle">
      <h1 class="color05">最新求购</h1>
    </div>
    <div class="line"></div>
    {pc:content action="lists" catid="34" num="10" order="id DESC" page="$page"}
    <div class="woyaoqiugou_l03">
    {loop $data $r}
		<dl><a href="{APP_PATH}index.php?m=content&c=user&a=buy_product_dt&id={$r[id]}">{$r[title]}</a><tt>{date('m-d',$r[inputtime])}</tt></dl>
		{/loop}
		 <div class="more"><div id="pages" class="text-c">{$pages}</div></div>
	</div>
	{/pc}
	</div>

	
  </div>
  
  <div class="anniu"><div class="anniu01"><div class="anniu02"><input name="" type="button" value="发布供应信息" class="inputbutton09 p12 color13 strong"  /><input name="" type="button" value="发布求购信息" class="inputbutton10 p12 color13 strong"  /></div></div><img src="images/_05.gif" /></div>
  <!-- 板块左边end-->
  <!-- 板块右边begin-->
  <div id="cpy_r">
  <div id="company_dazhemr">
    <div class="company_dazhemr_tittle">
      <h2><a href="#" class="p14">推荐活动</a></h2>
      <tt><a href="#" class="color14">更多>></a></tt></div>
    <div class="company_dazhemr_c">
      <ul>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
      </ul>
    </div>
  </div>
  <div id="company_dazhemr">
    
    <div class="company_dazhemr_tittle">
      <h2><a href="#" class="p14">主材杂谈</a></h2>
      <tt><a href="#" class="color14">更多>></a></tt></div>
    <div class="company_dazhemr_c">
      <ul>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
        <li><a href="#">重庆市大本营装饰设计工程有限公司本营</a></li>
      </ul>
    </div>
  </div>
 </div>
  <!-- 板块右边end-->
  <div id="company_mb">
  	<div class="company_mb_title"><h1 class="p14 strong">装修一站通</h1></div>
		<div class="step one">
          <div class="t">01准备</div>
          <div class="c">
             <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11353059.shtml" 
target="_blank">收房秘籍</a><br>
             <a href="#" target="_blank">家装咨询</a><br>
             <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11374353.shtml" 
target="_blank">装修办贷款必读</a> 
          </div>
     </div>
     <div class="step two">
          <div class="t">02合同</div>
          <div class="c">
              <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/1138282.shtml" 
target="_blank">选装修公司</a><br>
              <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/1139230.shtml" 
target="_blank">签定合同</a><br>
              <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071230/0314008.shtml" 
target="_blank">合同样本</a> 
          </div>
     </div>
     <div class="step three">
          <div class="t">03预算</div>
          <div class="c">
               <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11412292.shtml" 
target="_blank">算算装修帐</a><br>
               <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11423467.shtml" 
target="_blank">帮您省钱</a><br>
               <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11430948.shtml" 
target="_blank">量房预算</a> 
         </div>
     </div>
     <div class="step four">
          <div class="t">04准备</div>
          <div class="c">
               <a href="http://www.zhuangw.com/tools/tljsq.asp" 
target="_blank">涂料&nbsp;</a><a 
href="http://www.zhuangw.com/tools/cljsq.asp" target="_blank"></a><a 
href="http://www.zhuangw.com/tools/dbjsq.asp" target="_blank">地板&nbsp;</a><a
 href="http://www.zhuangw.com/tools/dzjsq.asp" target="_blank">地砖</a><br>
 
               <a href="http://www.zhuangw.com/tools/qzjsq.asp" 
target="_blank">墙砖&nbsp;</a><a 
href="http://www.zhuangw.com/tools/bzjsq.asp" target="_blank">壁纸&nbsp;</a><a
 href="http://www.zhuangw.com/tools/tljsq.asp" target="_blank">涂料</a><br>
               <a href="http://www.zhuangw.com/tools/cljsq.asp" 
target="_blank">窗帘&nbsp;</a><a 
href="http://www.zhuangw.com/tools/dbjsq.asp" target="_blank">地板&nbsp;</a><a
 href="http://www.zhuangw.com/tools/dzjsq.asp" target="_blank">地砖</a>   
    
          </div>
     </div>
      <div class="step five">
          <div class="t">05准备</div>
          <div class="c">
              <a href="http://home.zhuangw.com/xgzn/tc_news" 
target="_blank">瓷砖&nbsp;</a><a 
href="http://home.zhuangw.com/xgzn/fb_news" target="_blank">地板&nbsp;</a><a
 href="http://home.zhuangw.com/xgzn/cf_news" target="_blank">橱柜&nbsp;</a><a
 href="http://home.zhuangw.com/xgzn/mc_news" target="_blank">木门</a><br>
              <a href="http://home.zhuangw.com/xgzn/tl_news" 
target="_blank">涂料&nbsp;</a><a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/1145127.shtml" 
target="_blank">浴霸&nbsp;</a><a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11453184.shtml" 
target="_blank">&nbsp;铝扣板</a><br>
              <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11460796.shtml" 
target="_blank">大芯板&nbsp;</a><a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11494571.shtml" 
target="_blank">散热器</a><br>          
          
  
          </div>
     </div>
    <div class="step six">
          <div class="t">06准备</div>
          <div class="c">
              <div class="s">
                  <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11510565.shtml" 
target="_blank">前期总流程</a><br>
                  <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11514840.shtml" 
target="_blank">隐蔽工程</a>
              </div>  
              <div class="s">
                  <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11522257.shtml" 
target="_blank">中后期总流程&nbsp;&nbsp;</a><br>
                  <a 
href="http://home.zhuangw.com/zxdx/zx_cs//20071229/11545652.shtml" 
target="_blank">贴瓷砖</a>
                  <a 
href="http://home.zhuangw.com/zxdx/zx_cs//20090610/02400040.shtml" 
target="_blank">&nbsp;&nbsp;木工活</a>
              </div>   
			  <div class="s">					
                  <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11525425.shtml" 
target="_blank">与工人交流技巧</a><br>
			      <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/1156347.shtml" 
target="_blank">刷油漆涂料</a>
              </div>  
			  <div class="s">							
                  <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11531383.shtml" 
target="_blank">开工准备</a><br>
				  <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11570672.shtml" 
target="_blank">贴壁纸</a>
			  </div>  
              <div class="s">				
                  <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11534068.shtml" 
target="_blank">材料进场</a><br>
				  <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11412292.shtml" 
target="_blank">核算装修款</a>
		      </div>  
              <div class="s">				
                  <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11540483.shtml" 
target="_blank">墙体拆除</a><br>
				  <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11583388.shtml" 
target="_blank">完工验收</a>
              </div>  
              <div class="s nob">                                      
	              <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11543412.shtml" 
target="_blank">水电改造</a><br>
				  <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11585554.shtml" 
target="_blank">保修服务</a>
              </div>    
		  </div>
    </div>  
      <div class="step seven">
          <div class="t">07准备</div>
          <div class="c">
                <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071230/03101216.shtml" 
target="_blank">监理项目</a>
		  </div>
     </div>  
      <div class="step eight">
          <div class="t">08准备</div>
          <div class="c">
               <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/11585554.shtml" 
target="_blank">装修保修期不少于1年</a><br>
               <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/12004522.shtml" 
target="_blank">材料验收</a><a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/12014789.shtml" 
target="_blank">&nbsp;&nbsp;装修验收</a><br>
               <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/12050737.shtml" 
target="_blank">家装保修  </a> 
          </div>
     </div>  
    <div class="step nine"> 
          <div class="t">09准备</div>
          <div class="c">
               <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/12062140.shtml" 
target="_blank">污染治理</a><a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/12064464.shtml" 
target="_blank">污染及预防</a><br>
               <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/12080130.shtml" 
target="_blank">室内五大污染源</a><br>
               <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/12083080.shtml" 
target="_blank">花草净化空气</a>
	     </div>
    </div>     
    <div class="step ten">
          <div class="t">10准备</div>
          <div class="c">
               <a 
href="http://hom.zhuangw.com/zxdx/zx_cs/20071229/12094345.shtml" 
target="_blank">配色不死的十大定律</a><br> 
               <a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/12094345.shtml" 
target="_blank">装修常见问题集&nbsp;</a><br><a 
href="http://home.zhuangw.com/zxdx/zx_cs/20071229/12102524.shtml" 
target="_blank">装修纠纷的解决</a>         
		  </div>
    </div>
  </div>
  
</div>

<!--友情链接begin-->
<div class="m06">
  <div class="m06_title">
    <h1><a href="{APP_PATH}index.php?m=link&siteid={$siteid}">友情链接</a></h1>
  </div>
  <ul>
     {pc:link  action="type_list" siteid="$siteid" order="listorder DESC" num="10" return="dat"}
		{loop $dat $v}
              {if $type==0}
            <li>  <a href="{$v[url]}" target="_blank">{$v[name]}</a>  </li>
              {else}
             <li> <a href="{$v[url]}" target="_blank"><img src="{$v[logo]}" width="88" height="31" style="border: 1px solid #FFBE7A;"></a> </li>
              {/if}
		{/loop}
	{/pc}
   
  </ul>
</div>
<!-- 友情链接end-->
<!-- 内容end-->
<script type="text/javascript"> 
<!--
//只能放到最下面
$(function(){
	$.formValidator.initConfig({formid:"myform",autotip:true,onerror:function(msg,obj){window.top.art.dialog({content:msg,lock:true,width:'200',height:'50'}, 	function(){$(obj).focus();
	boxid = $(obj).attr('id');
	if($('#'+boxid).attr('boxid')!=undefined) {
		check_content(boxid);
	}
	})}});
	{$formValidator}
})
{pc:member action="get_city"  return="city"}
	var c = '<select name="info[city]" id="cityid" onchange="selectcity(this.value);">';
	c +='<option value="0">请选择</option>';
	{loop $city $k $v}
		c += '<option value="{$v['linkageid']}">{$v['name']}</option>';
	{/loop}
	c += '</select>';
{/pc}
$('#citydiv').html(c);

//-->
</script>
{template "content","footer"}